import request from '@/utils/request';
//import requestUpload from '@/utils/requestUpload';

export async function getSerialNumberByPage(params: any) {
  return request('/api/baseData/getSerialNumberByPage', {
    method: 'POST',
    data: params,
  });
}

export async function addSerialNumber(params: any) {
  return request('/api/baseData/addSerialNumber', {
    method: 'POST',
    data: params,
  });
}

export async function delSerialNumber(params: any) {
  return request('/api/baseData/delSerialNumber', {
    method: 'POST',
    data: params,
  });
}

export async function updateSerialNumber(params: any) {
  return request('/api/baseData/updateSerialNumber', {
    method: 'POST',
    data: params,
  });
}
